Tcl_Interp *_i_n_t_e_r_p (in) Interpreter to use for error reporting.
Tk_Window _t_k_w_i_n (in) Token for window in which colormap will
be used.
char *_s_t_r_i_n_g (in) Selects a colormap: either nnnneeeewwww or the
name of a window with the same screen and
visual as _t_k_w_i_n.
Display *_d_i_s_p_l_a_y (in) Display for which _c_o_l_o_r_m_a_p was allocated.
Colormap _c_o_l_o_r_m_a_p (in) Colormap to free; must have been
returned by a previous call to
TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp or TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
These procedures are used to manage colormaps. TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp returns a
colormap suitable for use in _t_k_w_i_n. If its _s_t_r_i_n_g argument is nnnneeeewwww then a
new colormap is created; otherwise _s_t_r_i_n_g must be the name of another
window with the same screen and visual as _t_k_w_i_n, and the colormap from
that window is returned. If _s_t_r_i_n_g doesn't make sense, or if it refers
to a window on a different screen from _t_k_w_i_n or with a different visual
than _t_k_w_i_n, then TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp returns NNNNoooonnnneeee and leaves an error message
in _i_n_t_e_r_p->_r_e_s_u_l_t.
TTTTkkkk____FFFFrrrreeeeeeeeCCCCoooolllloooorrrrmmmmaaaapppp should be called when a colormap returned by
TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp is no longer needed. Tk maintains a reference count for
each colormap returned by TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp, so there should eventually be
one call to TTTTkkkk____FFFFrrrreeeeeeeeCCCCoooolllloooorrrrmmmmaaaapppp for each call to TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp. When a
colormap's reference count becomes zero, Tk releases the X colormap.
TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll and TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp work together, in that a new colormap
created by TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll may later be returned by TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp. The
reference counting mechanism for colormaps includes both procedures, so
callers of TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll must also call TTTTkkkk____FFFFrrrreeeeeeeeCCCCoooolllloooorrrrmmmmaaaapppp to release the
colormap. If TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp is called with a _s_t_r_i_n_g value of nnnneeeewwww then
the resulting colormap will never be returned by TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll; however,
it can be used in other windows by calling TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrmmmmaaaapppp with the